package com.example.demo.Service;

import com.example.demo.Bean.*;

import java.util.List;

public interface AdminService {
    int insertAdmin(Admin admin);
    Admin selectAdmin(String username);
    Role selectRole(String username);
    List<AdminProducts> selectAllProduct();
    int updateProduct(UpdateProduct updateProduct);
    List<AdminProducts> selectAllCheck();
    int updateStatus(UpdateParameter updateParameter);
    List<AllUser> getAllUser();
    List<AllShop> getAllShop();
    List<AllAdmin> getAllAdmin();
    int getAdminId(String username);
    int insertRole(Integer id);
    int updateRole(RoleChange roleChange);
    List<Coupon> checkCoupon();
    int updataCouponStatus(UpdateCouponParameter updateCouponParameter);
    List<AllShop> getCheckShop();
    int updateShopStatus(UpdateStatusParameter updateStatusParameter);
    List<AdminProducts> getTopSellProduct();
    List<IndexProducts> getIndexProduct();
    ChangIndexParameter getChangIndexParameter(CommentParameter commentParameter);
    int updateIndexProduct(IndexProducts indexProducts);
    List<PaySuccessOrders> getAllPaySuccessOrders();
    List<PaySuccessOrders> getAllPaySuccessOrdersByShopName(String shopname);
    List<CheckSeckill> getAllSeckill();
    int updateSeckillStatus(SeckillStatusParameter seckillStatusParameter);
    int getAllPayOrders();
    int getAllRefundOrders();
    List<ShopOrders> getAllOrders();
}
